#include "widget.h"
#include "ui_widget.h"
#include <QCursor>
Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);

    QPixmap pixmap(":/cousor.png");
    pixmap = pixmap.scaled(50, 50);
    QCursor cursor(pixmap);

    ui->pushButton->setCursor(cursor);
}

Widget::~Widget()
{
    delete ui;
}

